package com.cabal.common.errcode;


public enum AuthErrCodeEnum{
	AUTH_ERROR("110001", "Permission error"),
	TOKEN_REQUIRED("110002", "No tokens, no access"),
	TOKEN_EXPIRED("110003", "Token expired, please log in again"),
	TOKEN_ERROR("110103", "Token parsing error"),
	USER_NOT_EXISTS("110100", "User does not exist"),
	USER_DELETED("110100", "User does not exist"),
	PASSWORD_INCORRECT("110101", "wrong password"),
    GEN_TOKEN_ERROR("110102", "Generate Token error"),
	RQUEST_MID_ERROR("110104", "The unique number of the business pspUserInfo cannot be empty"),
	SUBSYS_NOT_EXISTS("110105", "Subsystem does not exist"),
	SUBSYS_SECRET_INCORRECT("110106", "Subsystem security code error"),
	LOGIN_RANDOM_CHARACTER("110107", "Verification code error"),
	RESOURCE_PERMISSION_ERROR("110108", "resource permission error, please check acl"),
	;
	
	private String code;
	private String value;
	
	private AuthErrCodeEnum(String code, String value) {
		this.code = code;
		this.value = value;
	}

	public String getCode() {
		return this.code;
	}

	public String getValue() {
		return this.value;
	}
	
}
